//
//  MKTChatMsgBase.h
//  MKUITestApp
//  聊天消息基类
//  Created by 苏尚进 on 2021/7/8.
//  Copyright © 2021 moon. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MKTChatUser.h"

typedef enum : NSUInteger {
    MKTChatMsgSenderTypeMine,//我发送的消息
    MKTChatMsgSenderTypeOther,//对方发向的消息
    MKTChatMsgSenderTypeTip,//系统提示消息
} MKTChatMsgSenderType;

NS_ASSUME_NONNULL_BEGIN

@interface MKTChatMsgBase : NSObject
@property(nonatomic,strong,nullable) MKTChatUser *sender;//发送者
@property(nonatomic,assign) MKTChatMsgSenderType senderType;
@property(nonatomic,strong) id msg;//消息对象
+ (NSString *)msgType;
@end

NS_ASSUME_NONNULL_END
